

n = int(input())

if n % 4 == 0 :
    if n % 100 == 0:
        if n % 400 == 0:
            print(n, "是闰年")
        else:
            print(n, "不是闰年")
    else:
        print(n, "是闰年")
else:
    print(n, "不是闰年")

